#ifndef FILTERDIALOG_H
#define FILTERDIALOG_H
#include "AbstractDialog.h"
#include "ui_FilterDialog.h"
#include "Layer.h"
#include "Ptr.hpp"
#include "LinearFilterAction.h"



using namespace OOPUtils;



class FilterDialog : public AbstractDialog
{

	Q_OBJECT

private:

	Ui::FilterDialog ui;

	Ptr< LinearFilterAction > _pCurAction;

	virtual void _openEvent ();

	virtual void _closeEvent (int r);

public:

	FilterDialog (QWidget *parent = 0);

	~FilterDialog ();

public slots:

	void corePresetSelected (int presetIndex);

	void coreSizeChanged (int size);

	void coreChanged ();

signals:

	void filterChanged ();

};

#endif // FILTERDIALOG_H
